package com.sky.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author sky
 * @create 2021-07-16 16:47
 * 病例表
 */
@ApiModel(value = "com-sky-domain-CareHistory")
@TableName(value = "hos_care_history")
public class CareHistory extends BaseEntity {
    /**
     * 病历ID
     */
    @TableId(value = "ch_id", type = IdType.INPUT)
    @ApiModelProperty(value = "病历ID")
    private String chId;

    /**
     * 医生id
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value = "医生id")
    private Long userId;

    /**
     * 医生姓名
     */
    @TableField(value = "user_name")
    @ApiModelProperty(value = "医生姓名")
    private String userName;

    /**
     * 患者id
     */
    @TableField(value = "patient_id")
    @ApiModelProperty(value = "患者id")
    private String patientId;

    /**
     * 患者姓名
     */
    @TableField(value = "patient_name")
    @ApiModelProperty(value = "患者姓名")
    private String patientName;

    /**
     * 科室id
     */
    @TableField(value = "dept_id")
    @ApiModelProperty(value = "科室id")
    private Long deptId;

    /**
     * 科室名称
     */
    @TableField(value = "dept_name")
    @ApiModelProperty(value = "科室名称")
    private String deptName;

    /**
     * 接诊类型：0初诊，1复诊  字典表属性his_receive_type
     */
    @TableField(value = "receive_type")
    @ApiModelProperty(value = "接诊类型：0初诊，1复诊  字典表属性his_receive_type")
    private String receiveType;

    /**
     * 是否传染，0否，1是 字典表属性his_contagious_status
     */
    @TableField(value = "is_contagious")
    @ApiModelProperty(value = "是否传染，0否，1是 字典表属性his_contagious_status")
    private String isContagious;

    /**
     * 就诊时间
     */
    @TableField(value = "care_time")
    @ApiModelProperty(value = "就诊时间")
    private Date careTime;

    /**
     * 发病日期
     */
    @TableField(value = "case_date")
    @ApiModelProperty(value = "发病日期")
    private String caseDate;

    /**
     * 挂号单号
     */
    @TableField(value = "reg_id")
    @ApiModelProperty(value = "挂号单号")
    private String regId;

    /**
     * 主诉
     */
    @TableField(value = "case_title")
    @ApiModelProperty(value = "主诉")
    private String caseTitle;

    /**
     * 诊断信息
     */
    @TableField(value = "case_result")
    @ApiModelProperty(value = "诊断信息")
    private String caseResult;

    /**
     * 医生建议
     */
    @TableField(value = "doctor_tips")
    @ApiModelProperty(value = "医生建议")
    private String doctorTips;

    /**
     * 备注
     */
    @TableField(value = "remark")
    @ApiModelProperty(value = "备注")
    private String remark;

    public static final String COL_CH_ID = "ch_id";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_USER_NAME = "user_name";

    public static final String COL_PATIENT_ID = "patient_id";

    public static final String COL_PATIENT_NAME = "patient_name";

    public static final String COL_DEPT_ID = "dept_id";

    public static final String COL_DEPT_NAME = "dept_name";

    public static final String COL_RECEIVE_TYPE = "receive_type";

    public static final String COL_IS_CONTAGIOUS = "is_contagious";

    public static final String COL_CARE_TIME = "care_time";

    public static final String COL_CASE_DATE = "case_date";

    public static final String COL_REG_ID = "reg_id";

    public static final String COL_CASE_TITLE = "case_title";

    public static final String COL_CASE_RESULT = "case_result";

    public static final String COL_DOCTOR_TIPS = "doctor_tips";

    public static final String COL_REMARK = "remark";

    /**
     * 获取病历ID
     *
     * @return ch_id - 病历ID
     */
    public String getChId() {
        return chId;
    }

    /**
     * 设置病历ID
     *
     * @param chId 病历ID
     */
    public void setChId(String chId) {
        this.chId = chId;
    }

    /**
     * 获取医生id
     *
     * @return user_id - 医生id
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置医生id
     *
     * @param userId 医生id
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取医生姓名
     *
     * @return user_name - 医生姓名
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置医生姓名
     *
     * @param userName 医生姓名
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取患者id
     *
     * @return patient_id - 患者id
     */
    public String getPatientId() {
        return patientId;
    }

    /**
     * 设置患者id
     *
     * @param patientId 患者id
     */
    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    /**
     * 获取患者姓名
     *
     * @return patient_name - 患者姓名
     */
    public String getPatientName() {
        return patientName;
    }

    /**
     * 设置患者姓名
     *
     * @param patientName 患者姓名
     */
    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    /**
     * 获取科室id
     *
     * @return dept_id - 科室id
     */
    public Long getDeptId() {
        return deptId;
    }

    /**
     * 设置科室id
     *
     * @param deptId 科室id
     */
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    /**
     * 获取科室名称
     *
     * @return dept_name - 科室名称
     */
    public String getDeptName() {
        return deptName;
    }

    /**
     * 设置科室名称
     *
     * @param deptName 科室名称
     */
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    /**
     * 获取接诊类型：0初诊，1复诊  字典表属性his_receive_type
     *
     * @return receive_type - 接诊类型：0初诊，1复诊  字典表属性his_receive_type
     */
    public String getReceiveType() {
        return receiveType;
    }

    /**
     * 设置接诊类型：0初诊，1复诊  字典表属性his_receive_type
     *
     * @param receiveType 接诊类型：0初诊，1复诊  字典表属性his_receive_type
     */
    public void setReceiveType(String receiveType) {
        this.receiveType = receiveType;
    }

    /**
     * 获取是否传染，0否，1是 字典表属性his_contagious_status
     *
     * @return is_contagious - 是否传染，0否，1是 字典表属性his_contagious_status
     */
    public String getIsContagious() {
        return isContagious;
    }

    /**
     * 设置是否传染，0否，1是 字典表属性his_contagious_status
     *
     * @param isContagious 是否传染，0否，1是 字典表属性his_contagious_status
     */
    public void setIsContagious(String isContagious) {
        this.isContagious = isContagious;
    }

    /**
     * 获取就诊时间
     *
     * @return care_time - 就诊时间
     */
    public Date getCareTime() {
        return careTime;
    }

    /**
     * 设置就诊时间
     *
     * @param careTime 就诊时间
     */
    public void setCareTime(Date careTime) {
        this.careTime = careTime;
    }

    /**
     * 获取发病日期
     *
     * @return case_date - 发病日期
     */
    public String getCaseDate() {
        return caseDate;
    }

    /**
     * 设置发病日期
     *
     * @param caseDate 发病日期
     */
    public void setCaseDate(String caseDate) {
        this.caseDate = caseDate;
    }

    /**
     * 获取挂号单号
     *
     * @return reg_id - 挂号单号
     */
    public String getRegId() {
        return regId;
    }

    /**
     * 设置挂号单号
     *
     * @param regId 挂号单号
     */
    public void setRegId(String regId) {
        this.regId = regId;
    }

    /**
     * 获取主诉
     *
     * @return case_title - 主诉
     */
    public String getCaseTitle() {
        return caseTitle;
    }

    /**
     * 设置主诉
     *
     * @param caseTitle 主诉
     */
    public void setCaseTitle(String caseTitle) {
        this.caseTitle = caseTitle;
    }

    /**
     * 获取诊断信息
     *
     * @return case_result - 诊断信息
     */
    public String getCaseResult() {
        return caseResult;
    }

    /**
     * 设置诊断信息
     *
     * @param caseResult 诊断信息
     */
    public void setCaseResult(String caseResult) {
        this.caseResult = caseResult;
    }

    /**
     * 获取医生建议
     *
     * @return doctor_tips - 医生建议
     */
    public String getDoctorTips() {
        return doctorTips;
    }

    /**
     * 设置医生建议
     *
     * @param doctorTips 医生建议
     */
    public void setDoctorTips(String doctorTips) {
        this.doctorTips = doctorTips;
    }

    /**
     * 获取备注
     *
     * @return remark - 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置备注
     *
     * @param remark 备注
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }
}